/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 3/17/2012                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define PhieuThuResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class PhieuThuResult
    {
        #region fields
        private Int64 maPhieuThu;
        private Int64 maPhieuBanHang;
        private string nguoiThu;
        private DateTime ngayThu;
        private double thanhTien;
        private string curencyCode;
        private string notes;
        private string createdBy;
        private DateTime createdDate;
        private string lastUpdatedBy;
        private DateTime lastUpdatedDate;
        #endregion fields

        #region properties
        /// <summary>
        /// Define MaPhieuThu Property.
        /// </summary>
        public Int64 MaPhieuThu
        {
            get { return this.maPhieuThu; }
            set { this.maPhieuThu = value; }
        }
        /// <summary>
        /// Define MaPhieuBanHang Property.
        /// </summary>
        public Int64 MaPhieuBanHang
        {
            get { return this.maPhieuBanHang; }
            set { this.maPhieuBanHang = value; }
        }
        /// <summary>
        /// Define NguoiThu Property.
        /// </summary>
        public string NguoiThu
        {
            get { return this.nguoiThu; }
            set { this.nguoiThu = value; }
        }
        /// <summary>
        /// Define NgayThu Property.
        /// </summary>
        public DateTime NgayThu
        {
            get { return this.ngayThu; }
            set { this.ngayThu = value; }
        }
        /// <summary>
        /// Define ThanhTien Property.
        /// </summary>
        public double ThanhTien
        {
            get { return this.thanhTien; }
            set { this.thanhTien = value; }
        }
        /// <summary>
        /// Define CurencyCode Property.
        /// </summary>
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }
        /// <summary>
        /// Define Notes Property.
        /// </summary>
        public string Notes
        {
            get { return this.notes; }
            set { this.notes = value; }
        }
        /// <summary>
        /// Define CreatedBy Property.
        /// </summary>
        public string CreatedBy
        {
            get { return this.createdBy; }
            set { this.createdBy = value; }
        }
        /// <summary>
        /// Define CreatedDate Property.
        /// </summary>
        public DateTime CreatedDate
        {
            get { return this.createdDate; }
            set { this.createdDate = value; }
        }
        /// <summary>
        /// Define LastUpdatedBy Property.
        /// </summary>
        public string LastUpdatedBy
        {
            get { return this.lastUpdatedBy; }
            set { this.lastUpdatedBy = value; }
        }
        /// <summary>
        /// Define LastUpdatedDate Property.
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get { return this.lastUpdatedDate; }
            set { this.lastUpdatedDate = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for PhieuThuResultResult Object.
        /// </summary>
        public PhieuThuResult()
        {
            this.maPhieuThu = int.MinValue;
            this.maPhieuBanHang = Int64.MinValue;
            this.nguoiThu = string.Empty;
            this.ngayThu = DateTime.MinValue;
            this.thanhTien = double.MinValue;
            this.curencyCode = string.Empty;
            this.notes = string.Empty;
            this.createdBy = string.Empty;
            this.createdDate = DateTime.MinValue;
            this.lastUpdatedBy = string.Empty;
            this.lastUpdatedDate = DateTime.MinValue;
        }
        /// <summary>
        /// Define constructor for PhieuThuResultResult Object.
        /// </summary>
        public PhieuThuResult(int maPhieuThu,
                    Int64 maPhieuBanHang,
                    string nguoiThu,
                    DateTime ngayThu,
                    double thanhTien,
                    string curencyCode,
                    string notes,
                    string createdBy,
                    DateTime createdDate,
                    string lastUpdatedBy,
                    DateTime lastUpdatedDate)
        {
            this.maPhieuThu = maPhieuThu;
            this.maPhieuBanHang = maPhieuBanHang;
            this.nguoiThu = nguoiThu;
            this.ngayThu = ngayThu;
            this.thanhTien = thanhTien;
            this.curencyCode = curencyCode;
            this.notes = notes;
            this.createdBy = createdBy;
            this.createdDate = createdDate;
            this.lastUpdatedBy = lastUpdatedBy;
            this.lastUpdatedDate = lastUpdatedDate;
        }
        #endregion constructor
    }
}